/*--Global Styles--*/
@import url("https://fonts.googleapis.com/css?family=Fjalla+One");
body {
background-color: #222;
font-family: "Fjalla One", sans-serif;
text-transform: uppercase;
height: 100vh;
display: grid;
place-items: center;
}
/*--Button Styles--*/
.btn-slice {
padding: 1.2rem 2.5rem;
border: 2px solid #ffffff;
border-radius: 0rem;
color: #ffffff;
font-size: 0.6875rem;
font-weight: 700;
letter-spacing: 0.3rem;
position: relative;
transition: all 1000ms cubic-bezier(0.89, -0.17, 0.14, 1.225);
transition-timing-function: cubic-bezier(0.89, -0.17, 0.14, 1.225);
}
.btn-slice .top {
position: relative;
height: 6px;
overflow: hidden;
top: 0;
transition: all 300ms cubic-bezier(1, -0.055, 0.025, 1.04);
transition-timing-function: cubic-bezier(1, -0.055, 0.025, 1.04);
transition-delay: 0.35s;
}
.btn-slice .bottom {
position: relative;
height: 6px;
overflow: hidden;
bottom: 0;
transition: all 300ms cubic-bezier(1, -0.055, 0.025, 1.04);
transition-timing-function: cubic-bezier(1, -0.055, 0.025, 1.04);
transition-delay: 0.35s;
}
.btn-slice .bottom span {
top: -6px;
position: absolute;
left: 0;
}
.btn-slice:hover .top {
top: -5px;
transition-delay: 0.35s;
}
.btn-slice:hover .bottom {
bottom: -5px;
transition-delay: 0.35s;
}
.btn-slice:hover,
.btn-slice:focus,
.btn-slice:active {
margin-left: 10px;
}
.btn-slice::before {
content: "";
height: 1px;
width: 60px;
background-color: #ffffff;
position: absolute;
margin-top: 6px;
right: -35px;
transition: all 1000ms cubic-bezier(0.89, -0.17, 0.14, 1.225);
transition-timing-function: cubic-bezier(0.89, -0.17, 0.14, 1.225);
}
.btn-slice:hover::before {
width: 145%;
}